package cn.classyex.business.hr.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 福利基金管理对象 hr_welfare_fund
 * 
 * @author yex
 * @date 2021-05-06
 */
public class WelfareFund extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 福利基金id */
    private Long welfareFundId;

    /** 福利名称 */
    @Excel(name = "福利名称")
    private String welfareName;

    /** 使用条件说明 */
    @Excel(name = "使用条件说明")
    private String useCondition;

    /** 基金余额 */
    @Excel(name = "基金余额")
    private BigDecimal balance;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    public void setWelfareFundId(Long welfareFundId) 
    {
        this.welfareFundId = welfareFundId;
    }

    public Long getWelfareFundId() 
    {
        return welfareFundId;
    }
    public void setWelfareName(String welfareName) 
    {
        this.welfareName = welfareName;
    }

    public String getWelfareName() 
    {
        return welfareName;
    }
    public void setUseCondition(String useCondition) 
    {
        this.useCondition = useCondition;
    }

    public String getUseCondition() 
    {
        return useCondition;
    }
    public void setBalance(BigDecimal balance) 
    {
        this.balance = balance;
    }

    public BigDecimal getBalance() 
    {
        return balance;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("welfareFundId", getWelfareFundId())
            .append("welfareName", getWelfareName())
            .append("useCondition", getUseCondition())
            .append("balance", getBalance())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
